package cn.iocoder.yudao.module.reading.controller.app.assignment.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 作业完成统计 Response VO
 *
 * @author 芋道源码
 */
@Schema(description = "用户 APP - 作业完成统计 Response VO")
@Data
public class AssignmentStatsRespVO {

    @Schema(description = "作业ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Long assignmentId;

    @Schema(description = "班级总人数", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    private Integer totalMembers;

    @Schema(description = "已完成人数", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Integer completedCount;

    @Schema(description = "未完成人数", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Integer incompleteCount;

    @Schema(description = "完成率", requiredMode = Schema.RequiredMode.REQUIRED, example = "50.0")
    private Double completionRate;

}
